package com.hadoop.mr2.multipleinput;

import java.io.IOException;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;

/**
 * 用来处理：
 *  tom
	math 90 
	english 98
	jary
	math 78
	english 87
  用自定义的成绩读取器来实现
 * @author ysq
 *
 */
public class InputMapper1 extends Mapper<Text, Text, Text, Text>{
	@Override
	protected void map(Text key, Text value, Mapper<Text, Text, Text, Text>.Context context)
			throws IOException, InterruptedException {
		context.write(key, value);
	}

}
